﻿using System;

namespace TemplateFoundation.Exceptions
{
    /// <summary>
    /// Represents an exception that has occured within the EPiServer Template Foundation
    /// </summary>
    public class TemplateFoundationException : Exception
    {
        /// <summary>
        /// Create a new exception
        /// </summary>
        /// <param name="message"></param>
        public TemplateFoundationException(string message) : base(message)
        {
            
        }

        /// <summary>
        /// Create a new exception
        /// </summary>
        /// <param name="message"></param>
        /// <param name="innerException"></param>
        public TemplateFoundationException(string message, Exception innerException) : base(message,innerException)
        {
            
        }
    }
}
